/*
Copyright (c) 2008
Heka Lok <heka.lok@gmail.com>
David Feilen <bastian.mezurashii@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

/* THIS FILE GENERATED BY bcd.gen */
module defl.c.ecore.config;
align(4):
const int ECORE_CONFIG_FLOAT_PRECISION = 1000;
const char[] ECORE_CONFIG_GLOBAL_ID = "_system";
alias Ecore_Config_Server Ecore_Config_Server;
alias Ecore_Config_Bundle Ecore_Config_Bundle;
alias Ecore_Config_Prop Ecore_Config_Prop;
enum Ecore_Config_Type {
ECORE_CONFIG_NIL=0,
ECORE_CONFIG_INT=1,
ECORE_CONFIG_FLT=2,
ECORE_CONFIG_STR=3,
ECORE_CONFIG_RGB=4,
ECORE_CONFIG_THM=5,
ECORE_CONFIG_BLN=6,
ECORE_CONFIG_SCT=7,
}
alias int Ecore_Config_Type;
enum Ecore_Config_Flag {
ECORE_CONFIG_FLAG_NONE=0,
ECORE_CONFIG_FLAG_BOUNDS=1,
ECORE_CONFIG_FLAG_MODIFIED=2,
ECORE_CONFIG_FLAG_SYSTEM=4,
ECORE_CONFIG_FLAG_CMDLN=8,
}
alias int Ecore_Config_Flag;
alias Ecore_Config_Listener_List Ecore_Config_Listener_List;
alias int function(char *, int, int, void *) _BCD_func__722;
alias _BCD_func__722 Ecore_Config_Listener;
extern (C) int ecore_config_theme_create(char *, char *, char, char *, char *);
extern (C) int ecore_config_argb_create(char *, char *, char, char *, char *);
extern (C) int ecore_config_float_create_bound(char *, float, float, float, float, char, char *, char *);
extern (C) int ecore_config_float_create(char *, float, char, char *, char *);
extern (C) int ecore_config_string_create(char *, char *, char, char *, char *);
extern (C) int ecore_config_int_create_bound(char *, int, int, int, int, char, char *, char *);
extern (C) int ecore_config_int_create(char *, int, char, char *, char *);
extern (C) int ecore_config_boolean_create(char *, int, char, char *, char *);
extern (C) int ecore_config_typed_create(char *, void *, int, char, char *, char *);
extern (C) int ecore_config_create(char *, void *, char, char *, char *);
extern (C) void ecore_config_app_describe(char *);
alias void function(char *, void *) _BCD_func__901;
extern (C) void ecore_config_args_callback_noarg_add(char, char *, char *, _BCD_func__901, void *);
extern (C) void ecore_config_args_callback_str_add(char, char *, char *, _BCD_func__901, void *);
extern (C) int ecore_config_args_parse();
extern (C) void ecore_config_args_display();
extern (C) char * ecore_config_theme_with_path_get(char *);
extern (C) char * ecore_config_theme_with_path_from_name_get(char *);
extern (C) char * ecore_config_theme_default_path_get();
extern (C) int ecore_config_theme_search_path_append(char *);
extern (C) char * ecore_config_theme_search_path_get();
extern (C) int ecore_config_evas_font_path_apply(void *);
extern (C) int ecore_config_file_save(char *);
extern (C) int ecore_config_save();
extern (C) int ecore_config_file_load(char *);
extern (C) int ecore_config_load();
extern (C) int ecore_config_system_shutdown();
extern (C) int ecore_config_system_init();
extern (C) int ecore_config_shutdown();
extern (C) int ecore_config_init(char *);
extern (C) char * ecore_config_bundle_label_get(Ecore_Config_Bundle *);
extern (C) int ecore_config_bundle_serial_get(Ecore_Config_Bundle *);
extern (C) Ecore_Config_Bundle * ecore_config_bundle_by_label_get(Ecore_Config_Server *, char *);
extern (C) Ecore_Config_Bundle * ecore_config_bundle_by_serial_get(Ecore_Config_Server *, int);
extern (C) Ecore_Config_Bundle * ecore_config_bundle_next_get(Ecore_Config_Bundle *);
extern (C) Ecore_Config_Bundle * ecore_config_bundle_1st_get(Ecore_Config_Server *);
extern (C) Ecore_Config_Bundle * ecore_config_bundle_new(Ecore_Config_Server *, char *);
extern (C) int ecore_config_type_guess(char *, char *);
extern (C) Ecore_Config_Prop * ecore_config_dst(Ecore_Config_Prop *);
extern (C) int ecore_config_deaf(char *, char *, _BCD_func__722);
extern (C) int ecore_config_listen(char *, char *, _BCD_func__722, int, void *);
extern (C) int ecore_config_struct_get(char *, void *);
extern (C) int ecore_config_struct_boolean_add(char *, char *, int);
extern (C) int ecore_config_struct_argb_add(char *, char *, int, int, int, int);
extern (C) int ecore_config_struct_theme_add(char *, char *, char *);
extern (C) int ecore_config_struct_string_add(char *, char *, char *);
extern (C) int ecore_config_struct_create(char *);
extern (C) int ecore_config_struct_float_add(char *, char *, float);
extern (C) int ecore_config_struct_int_add(char *, char *, int);
extern (C) int ecore_config_struct_default(char *);
extern (C) int ecore_config_theme_default(char *, char *);
extern (C) int ecore_config_argbstr_default(char *, char *);
extern (C) int ecore_config_argbint_default(char *, int);
extern (C) int ecore_config_argb_default(char *, int, int, int, int);
extern (C) int ecore_config_float_default_bound(char *, float, float, float, float);
extern (C) int ecore_config_float_default(char *, float);
extern (C) int ecore_config_string_default(char *, char *);
extern (C) int ecore_config_int_default_bound(char *, int, int, int, int);
extern (C) int ecore_config_int_default(char *, int);
extern (C) int ecore_config_boolean_default(char *, int);
extern (C) int ecore_config_typed_default(char *, void *, int);
extern (C) int ecore_config_default(char *, char *, float, float, float);
extern (C) int ecore_config_as_string_set(char *, char *);
extern (C) int ecore_config_theme_preview_group_set(char *, char *);
extern (C) int ecore_config_theme_set(char *, char *);
extern (C) int ecore_config_float_set(char *, float);
extern (C) int ecore_config_argbstr_set(char *, char *);
extern (C) int ecore_config_argbint_set(char *, int);
extern (C) int ecore_config_argb_set(char *, int, int, int, int);
extern (C) int ecore_config_int_set(char *, int);
extern (C) int ecore_config_string_set(char *, char *);
extern (C) int ecore_config_boolean_set(char *, int);
extern (C) int ecore_config_typed_set(char *, void *, int);
extern (C) int ecore_config_set(char *, char *);
extern (C) int ecore_config_long_opt_set(char *, char *);
extern (C) int ecore_config_short_opt_set(char *, char);
extern (C) int ecore_config_describe(char *, char *);
extern (C) int ecore_config_bound(Ecore_Config_Prop *);
extern (C) char * ecore_config_as_string_get(char *);
extern (C) char * ecore_config_theme_get(char *);
extern (C) float ecore_config_float_get(char *);
extern (C) char * ecore_config_argbstr_get(char *);
extern (C) int ecore_config_argbint_get(char *);
extern (C) int ecore_config_argb_get(char *, int *, int *, int *, int *);
extern (C) int ecore_config_int_get(char *);
extern (C) char * ecore_config_string_get(char *);
extern (C) int ecore_config_boolean_get(char *);
extern (C) char * ecore_config_type_get(Ecore_Config_Prop *);
extern (C) Ecore_Config_Prop * ecore_config_get(char *);
struct Ecore_Config_Server {
void * server;
char * name;
Ecore_Config_Bundle * bundles;
Ecore_Config_Server * next;
}
struct Ecore_Config_Bundle {
char * identifier;
char * owner;
int serial;
Ecore_Config_Prop * data;
void * user_data;
Ecore_Config_Bundle * next;
}
struct Ecore_Config_Prop {
char * key;
char * description;
char short_opt;
char * long_opt;
char * ptr;
int type;
int val;
int lo;
int hi;
int step;
int flags;
Ecore_Config_Listener_List * listeners;
void * data;
Ecore_Config_Prop * parent;
Ecore_Config_Prop * next;
}
struct Ecore_Config_Listener_List {
_BCD_func__722 listener;
char * name;
void * data;
int tag;
Ecore_Config_Listener_List * next;
}
extern (C) extern char * __ecore_config_app_name;
extern (C) extern Ecore_Config_Bundle * __ecore_config_bundle_local;
extern (C) extern Ecore_Config_Server * __ecore_config_server_local;
extern (C) extern Ecore_Config_Server * __ecore_config_server_global;
